home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
bytesc88.arc
/
FREE.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
512b
|
17 lines
#define NOCCARGC /* no argument count passing */
extern char *Umemptr;
/*
** free(ptr) - Free previously allocated memory block.
** Memory must be freed in the reverse order from which
** it was allocated.
** ptr = Value returned by calloc() or malloc().
** Returns ptr if successful or NULL otherwise.
*/
free(ptr) char *ptr; {
return (Umemptr = ptr);
}
#asm
_cfree equ _free
PUBLIC _cfree
#endasm